From 54c57339bb356ad16d4008463fd2c4d855bcdf12 Mon Sep 17 00:00:00 2001 From: Jens Frank Date: Tue, 23 Mar 2004 22:20:21 +0000 Subject: [PATCH] PHPTAL include path set if is set --- config/index.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/config/index.php b/config/index.php index 04691f1823..023852fe3d 100644 --- a/config/index.php +++ b/config/index.php @@ -658,6 +658,11 @@ if( \$wgCommandLineMode ) { \$wgLanguageCode = \"{$conf->LanguageCode}\"; " . ($conf->Encoding ? "\$wgInputEncoding = \$wgOutputEncoding = \"{$conf->Encoding}\";" : "" ) . " +\$wgUsePHPTAL = false; +if ( \$wgUsePHPTAL ) { + ini_set( \"include_path\", \"\$IP/PHPTAL-NP-0.7.0/libs:\" . ini_get(\"include_path\") ); +} + "; } @@ -715,4 +720,4 @@ function getLanguageList() { ?> - \ No newline at end of file + -- 2.20.1